// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import FastClick from 'fastclick';
import { Button } from 'vant';
import { Row, Col, Cell, CellGroup, Image, Divider, Card, Tag, NoticeBar } from "vant";
import store from "./store";

import './assets/styles/reset.css'
import './assets/styles/border.css'
import './assets/styles/iconfont.css';
// import VueAwesomeSwiper from 'vue-awesome-swiper';
// import "swiper/dist/css/swiper.css";
import axios from 'axios';

Vue.config.productionTip = false
FastClick.attach(document.body)
Vue.use(Button)
  .use(Row)
  .use(Col)
  .use(Cell)
  .use(CellGroup)
  .use(Image)
  .use(Divider)
  .use(Card)
  .use(Tag)
  .use(NoticeBar);

// axios.defaults.withCredentials = true;
Vue.prototype.$axios = axios;
// Vue.use(VueAwesomeSwiper)

new Vue({
  el: "#app",
  router,
  store,
  components: { App },
  template: "<App/>"
});
